package com.starmark.flow.test.service;


import com.starmark.flow.sys.org.entity.SysOrgUser;
import com.starmark.flow.sys.org.service.ISysOrgUserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class SysOrgUserTestService {

    @Autowired
    private ISysOrgUserService sysOrgUserService;


    @Test
    public void testOrgServcie(){
        SysOrgUser orgUser=sysOrgUserService.getById("1292311055705657345");
        orgUser.setName(null);
        sysOrgUserService.updateById(orgUser);
    }
}
